<div class="bjui-pageContent" >
        <div data-layout-h="0">
                <!-- 内容区 -->
                <form action="{:U('Product/supplier_add')}" class="pageForm nice-validator n-red" data-loadingmask='false' data-toggle="validate" novalidate="novalidate" data-reload-navtab="true" method="post" >
                        <input type="hidden" name="id" value="{$_GET.id|default=''}" />
                        <table class="table table-condensed table-hover">
                                <tr>
                                        <th ><label style='margin-left:40px;'>供应商名称：</label></th>
                                        <td>
                                                <input type="text" data-rule="required" name="name" value="{$supplier.name|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th><label style='margin-left:40px;'>供应商类型：</label></th>
                                        <td>
                                                <select name="type_id" data-toggle="selectpicker"  >
                                                        <option value='1' {eq name='supplier.type_id' value='1'} selected="selected" {/eq} >线路</option>
                                                        <option value='2' {eq name='supplier.type_id' value='2'} selected="selected" {/eq}>门票</option>
                                                        <option value='3' {eq name='supplier.type_id' value='3'} selected="selected" {/eq} >酒店</option>
                                                        <option value='4' {eq name='supplier.type_id' value='4'} selected="selected" {/eq}>机票</option>
                                                        <option value='5' {eq name='supplier.type_id' value='5'} selected="selected" {/eq} >车队</option>
                                                        <option value='6' {eq name='supplier.type_id' value='6'} selected="selected" {/eq}>餐饮</option>
                                                        <option value='0' {eq name='supplier.type_id' value='0'} selected="selected" {/eq}>其他</option>
                                                </select>
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>联系人：</label></th>
                                        <td>
                                                <input type="text" data-rule="required" name="linkman" value="{$supplier.linkman|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>电话：</label></th>
                                        <td>
                                                <input type="text"  name="telephone" value="{$supplier.telephone|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>手机：</label></th>
                                        <td>
                                                <input type="text" name="mobilephone" value="{$supplier.mobilephone|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>QQ：</label></th>
                                        <td>
                                                <input type="text" name="qq" value="{$supplier.qq|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>开户名：</label></th>
                                        <td>
                                                <input type="text"  name="account_name" value="{$supplier.account_name|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>开户行：</label></th>
                                        <td>
                                                <input type="text"  name="account_bank" value="{$supplier.account_bank|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>账号：</label></th>
                                        <td>
                                                <input type="text"  name="account_number" value="{$supplier.account_number|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th><label style='margin-left:40px;'>备注：</label></th>
                                        <td>
                                               <textarea name="remark" cols="20" rows="4"  >{$supplier.remark|default=''}</textarea>
                                        </td>

                                </tr>
                        </table>
                </form>
        </div>

</div>
<div class="bjui-pageFooter" border='none'>
        <ul>
                <li><button type="button" class="btn btn-close">关闭</button></li>
                <li><button type="submit" class="btn btn-default">提交</button></li>
        </ul>
</div>